<?php
namespace app\common\validate;
use think\Validate;
class Featured extends Validate{
    
    protected  $rule=[
        "type"=>"number",
        "title"=>"require",
        "description"=>"require",
        "url"=>"require",
        "image"=>"require",
    ];
    
    protected $scene=[
        "add"=>["title","description","url","image",],
        "status"=>["status","id"],
    ];
    
    
    
}

